package com.schoolcloud.social.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 回复表文件id
 * @TableName soc_post_replies_file
 */
@TableName(value ="soc_post_replies_file")
@Data
public class SocPostRepliesFile implements Serializable {
    /**
     * 文件id
     */
    @TableId(type = IdType.AUTO)
    private Integer fileId;

    /**
     * 回复表id
     */
    private Integer postReplyId;

    /**
     * 图片路径
     */
    private String fileUrl;

    /**
     * 文件类型
     */
    private String fileType;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
